<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <title>完成工单</title>
    <link rel="stylesheet" type="text/css" href="../css/api.css" />
    <link rel="stylesheet" type="text/css" href="../css/aui.css" />
    <link rel="stylesheet" type="text/css" href="../css/iconfont.css" />
    <link rel="stylesheet" type="text/css" href="css/form.css" />
    <link rel="stylesheet" type="text/css" href="css/comm.css" />
    <link rel="stylesheet" type="text/css" href="css/gridcommlist.css" />
    <link rel="stylesheet" type="text/css" href="css/renwugongdancomplete.css" />
</head>

<body>
    <div id="app" v-cloak>
        <div class="aui-content boxarea mainbox">
            <div class="box_title">
                <div  class="box_title_left fl">工作记录</div>
                <div class="cl"></div>
            </div>
            <div class="box_msg">
                <div class="aui-list-item-inner">
                    <div class="aui-list-item-input">
                        <textarea placeholder="请填写记录(选填信息)" style="height: 6rem;" v-model="form.TaskContent"></textarea>
                    </div>
                </div>
            </div>
                <div  class="imglist_box" style="margin-left: 0px;">
                    <div v-if="task_imgList.length>0" class="imglist_item" v-for="(item,index) in task_imgList">
                        <img v-on:click="do_viewimages_edit(index)" class="imgitem ml4" v-bind:src="item.SysFinalFilePath" />
                        <img v-on:click="remove_img_edit(item.ID)" class="onmouse_close" src="../image/close_mouseover.svg" />
                    </div>
                    <div class="imglist_item" v-for="(item,index) in imglist">
                        <img  class="imgitem ml4" v-on:click="do_viewimages(index)" v-bind:src="item.url" />
                        <img v-on:click="remove_img(index,item)" class="onmouse_close" src="../image/close_mouseover.svg"  style="right: 0.8rem;"/>
                    </div>
                    <div v-if="imglist.length<maxuploadcount" class="imglist_item ml4">
                        <div class="img_plusbox">
                            <img v-on:click="choose_picture()" src="../image/photo_image.svg"/>
                        </div>
                        <span>最多支持{{maxuploadcount}}张</span>
                    </div>

                </div>
            <div class="cl"></div>
        </div>
        <div class="bottom">
            <div class="aui_bottombtn" v-on:click="do_save()">保存</div>
        </div>
    </div>
</body>
<script type="text/javascript" src="../script/api.js"></script>
<script type="text/javascript" src="../script/aui-toast.js"></script>
<script type="text/javascript" src="../script/aui-actionsheet.js"></script>
<script type="text/javascript" src="../script/config.js"></script>
<script type="text/javascript" src="../script/common.js"></script>
<script type="text/javascript" src="../script/vue.js"></script>
<script type="text/javascript" src="js/worktaskrecord.js"></script>

</html>
